import request from '@/utils/request'

//用户管理 /manage/adminGroup/getList get
export const  reqAdminGroup =()=>{
    return request ({
        url:'/manage/adminGroup/getList',
        method:'get'
    })
}

//   /manage/adminUser/getList get 
export const  reqAdminUser =()=>{
    return request ({
        url:'/manage/adminUser/getList',
        method:'get'
    })
}
//修改用户信息  /manage/adminUser/updateOne post 
export const reqUpdateOne=(data)=>{
    return request ({
        url:'/manage/adminUser/updateOne',
        method:'post',
        data
    })
}
//删除管理员 /manage/adminUser/deleteUser get
export const reqDeleteUser =(params)=>{
    return request ({
        url:'/manage/adminUser/deleteUser',
        method:'get',
        params
    })
}
//添加管理员 /manage/adminUser/addOne post 
export const reqAddOne=(data)=>{
    return request ({
        url:'/manage/adminUser/addOne',
        method:'post',
        data
    })
}

//请求row信息 /manage/adminUser/getOne  get
export const reqGetOne=(params)=>{
    return request ({
        url:'/manage/adminUser/getOne',
        method:'get',
        params
    })
}

//请求页面信息 /manage/adminUser/getList get  current: 1 pageSize: 30 searchkey: 
export const reqGetPage=(params)=>{
    return request ({
        url:'/manage/adminUser/getList',
        method:'get',
        params
    })
}